<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>@yield('title', 'LaraBBS') - {{ setting('site_name', 'Laravel 进阶教程') }}</title>
    <meta name="description" content="@yield('description', setting('seo_description', 'LaraBBS 爱好者社区。'))" />
    <meta name="keyword" content="@yield('keyword', setting('seo_keyword', 'LaraBBS,社区,论坛,开发者论坛'))" />

    <!-- Styles -->
    <link href="/static/index/css/app.css" rel="stylesheet">
    {block name="styles"}{/block}
</head>

<body>
    <div id="app" class="{route_class()}-page">

        {include file="layouts/_header" /}
        {block name="page_content"}{/block}

        <div class="container">

            {include file="layouts/_message" /}
            {block name="content"}{/block}

        </div>

        {include file="layouts/_footer" /}
    </div>

    <!-- Scripts -->
    <script src="/static/index/js/app.js"></script>
    {block name="scripts"}{/block}
</body>
</html>